annotation class Restrict(val min: Long = Long.MIN_VALUE, val max: Long = Long.MAX_VALUE) Annotation-driven validation for Longs
Author
fzzyhmstrs
Since
0.2.0
Parameters
: Long - minimum allowable value, default to Long.MIN_VALUE
: Long - maximum allowable value, default to Long.MAX_VALUE